package com.zq.server.api.domain.dto;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class phoneVerificationTicketDto {


    @Size(min = 4, max = 4, message = "手机号必须为四位")
    @NotNull(message = "手机号不能为空")
    private String phone;

    @NotNull(message = "订单ID不能为空")
    private Long oid;
}
